package edu.ybu.manage.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("product_info")
public class Product {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("product_name")
    private String productname;
    @TableField("product_desc")
    private String productdesc;
    @TableField("product_price")
    private Double productprice;
    @TableField("product_num")
    private Integer productnum;
}
